package flextv.data {

import flash.data.SQLConnection;
import flash.data.SQLStatement;
	

public class SqlUtil {
	
	public static const TBL_PLAYLIST: String = "Playlist";
	
	public static const TBL_STORED_ITEM: String = "StoredItem";
	
	public function SqlUtil() {
	}
	
	
	public static function prepareStatement(sql: String, sqlConnect: SQLConnection, itemClass: Class = null): SQLStatement {
		const stmt: SQLStatement = new SQLStatement();
		stmt.sqlConnection = sqlConnect;
		stmt.text = sql;
		if(itemClass != null) {
			stmt.itemClass = itemClass;
		}
		return stmt;
	}
	

}
}